'use strict';
(function() {

    ngApp.directive("scAlert", function() {
        return {
            'restrict': 'E',
            'replace': false,
            scope: {
                msg : "=",
                type: "="
            },
            templateUrl: "alert/directive/sc-alert/view/sc-alert.html",
            controller: function($scope, $element) {
                $scope.close = function(){
                    $scope.hidden = true;
                }
            }
        };
    });

})();
